package zhihui.mobile.bean.shop.sales;

/**
 * Created by 张公铭 on 2017/9/4 0004.
 * 优惠券信息
 */

public class CouponInfo
{
    private long starttime_f;   //有效开始时间
    private long endtime_f;     //过期时间
    private String skus;           //使用sku
    private String description;   //描述
    private String formula;        //计算公式
    private int couponId;          //优惠券ID
    private int coupon = 0;             //优惠金额
    private int limit = 0;              //满额条件
    private int type;                   // 1:满减,2:折扣,3:抵用,4:运费卷
    private double discount;            //折扣
    private int status = 1;             // status 1--未使用 2--已使用 3--已过期

    public long getStarttime_f()
    {
        return starttime_f;
    }

    public long getEndtime_f()
    {
        return endtime_f;
    }

    public String getDescription()
    {
        return description;
    }

    public String getFormula()
    {
        return formula;
    }

    public int getCouponId()
    {
        return couponId;
    }

    public int getType()
    {
        return type;
    }

    public String getSkus()
    {
        return skus;
    }

    public int getCoupon()
    {
        return coupon;
    }

    public int getLimit()
    {
        return limit;
    }

    public double getDiscount()
    {
        return discount;
    }

    public int getStatus()
    {
        return status;
    }

    public void setStarttime_f(long starttime_f)
    {
        this.starttime_f = starttime_f;
    }

    public void setEndtime_f(long endtime_f)
    {
        this.endtime_f = endtime_f;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public void setFormula(String formula)
    {
        this.formula = formula;
    }

    public void setCouponId(int couponId)
    {
        this.couponId = couponId;
    }

    public void setType(int type)
    {
        this.type = type;
    }

    public void setSkus(String skus)
    {
        this.skus = skus;
    }

    public void setCoupon(int coupon)
    {
        this.coupon = coupon;
    }

    public void setLimit(int limit)
    {
        this.limit = limit;
    }

    public void setDiscount(double discount)
    {
        this.discount = discount;
    }

    public void setStatus(int status)
    {
        this.status = status;
    }
}
